// // const {name,age}=require("./b.js")
// import person,{name,age} from "./b.js"
// let {height,weight,add}=person
// console.log(height)
// console.log(weight)
// console.log(add())
// console.log(name)
// console.log(age)

// // //解构
// let person={
//     name:"yyy",
//     age:21,
//     height:181
// }
// let {name,age,height}=person
// console.log(name)
//用commonjs直接搞sss文件作为模块
// const {a,b}  = require("./sss");
// console.log(a)
// console.log(b)
// let res=a(5)
// let res1=b(10)
// console.log(res)
// console.log(res1)
import { a, b } from './sss/index.js';
console.log(a)
console.log(b)
let res=a(5)
let res1=b(10)
console.log(res)
console.log(res1)